package o2o.dao.PO.shop;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Created with IntelliJ IDEA.
 *
 * @User: @Created by yangtk
 * @Date: @Date 2020/3/29 12:34
 * @To change this template use File | Settings | File Templates.
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class ShopWorkLog {
    private Long id;
    private Long shopId;
    private Integer preLock;
    private Integer afterLock;      // 锁定
    private Integer preWork;
    private Integer afterWork;
    private Integer isSystem;       //  是不是是不是操作人
    private String username;        // 操作人账号
    private Long createTime;

    public ShopWorkLog(Long shopId, Integer preLock, Integer afterLock, Integer preWork, Integer afterWork, Integer isSystem, String username, Long createTime) {
        this(null, shopId, preLock, afterLock, preWork, afterWork, isSystem, username, createTime);
    }
}
